package com.ruoyi.caigou.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 供应商报价对象 finer_buy_supplies
 *
 * @author lvql
 * @date 2024-10-31
 */
public class BuySupplies extends BaseEntity {
    private static final long serialVersionUID = 1L;


    private Integer id;

    /**
     * 单据编号
     */
    @Excel(name = "单据编号")
    private String code;

    /**
     * 源单据编号
     */
    @Excel(name = "源单据编号")
    private String sourceCode;

    private Integer supplierId;

    private String supplierName;
    private Integer docStage;

    private Integer approvalResult;

    private Integer isEffect;
    private Integer isClose;

    private Integer isCancel;

    private Integer isDel;


    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setDocStage(Integer docStage) {
        this.docStage = docStage;
    }

    public Integer getDocStage() {
        return docStage;
    }

    public void setApprovalResult(Integer approvalResult) {
        this.approvalResult = approvalResult;
    }

    public Integer getApprovalResult() {
        return approvalResult;
    }

    public void setIsEffect(Integer isEffect) {
        this.isEffect = isEffect;
    }

    public Integer getIsEffect() {
        return isEffect;
    }

    public void setIsClose(Integer isClose) {
        this.isClose = isClose;
    }

    public Integer getIsClose() {
        return isClose;
    }

    public void setIsCancel(Integer isCancel) {
        this.isCancel = isCancel;
    }

    public Integer getIsCancel() {
        return isCancel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Integer getIsDel() {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("code", getCode())
                .append("sourceCode", getSourceCode())
                .append("docStage", getDocStage())
                .append("approvalResult", getApprovalResult())
                .append("isEffect", getIsEffect())
                .append("isClose", getIsClose())
                .append("isCancel", getIsCancel())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("isDel", getIsDel())
                .toString();
    }
}
